package com.zsh.controller;

import com.zsh.domain.Swagger;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RestController

@Api(value = "swaggerUI", tags = "swaggerUI", description = "swaggerUI", produces = "application/json;charset=utf-8")
public class SwaggerController {
    @RequestMapping(value = "/hello",method = {RequestMethod.POST,RequestMethod.GET})
    @ApiOperation(value="swaggerUI", notes="swaggerUI测试")
    public String swaggerUI(@RequestBody Swagger param){
        return "hello swaggerUI";
    }
}